<?php
/**
 * Created by IntelliJ IDEA.
 * User: zouzi
 * Date: 2018/5/7
 * Time: 下午4:15
 */
namespace Unicom\Model;
use Think\Model;
class ProvinceAllowModel extends Model{
    protected $_validate = array(
        array('id','require','id必须！'), //默认情况下用正则进行验证
        array('provence','require','省份必须！'), // 在新增的时候验证name字段是否唯一

    );
}